package com.vitalfit.client;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;

import java.util.List;

@FeignClient(name = "appointment-service")
public interface FitnessPlanServiceClient {

    @GetMapping("/api/v1/fitness_plan/mail/expire")
    List<String> getCustomerEmailsByExpiringPlans(@RequestHeader("Authorization") String authorizationHeader);

}
